package cc.imos.medium;

import cc.imos.communal.constant.Const;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <pre>
 *     账号分页参数
 * Created by asher on 2017/6/13.
 * </pre>
 */
@Data
@ApiModel(value = "账号分页参数对象")
public class AccountPageArgs {

    @ApiModelProperty(value = "浏览页码", example = "1")
    private int pageNumber = 1;

    @ApiModelProperty(value = "每页数量", example = "20")
    private int pageSize = Const.DEFAULT_INT_20;

    @ApiModelProperty(value = "账户账号", example = "username")
    private String keyword;

    @ApiModelProperty(value = "是否有效", example = "true")
    private Boolean flag = true;
}
